import {createApp} from 'vue'
import App from './App.vue'
import {createPinia} from "pinia";
import router from './router/index.js'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //引入持久化插件
import "bootstrap/dist/css/bootstrap.css"
// 在main.js中
const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(router)
app.use(pinia)
app.use(ElementPlus)
app.mount('#app')
